import wx
import time
from DataManager import DataManager
from SimplePanels import PanelCollect
from ControlCollectList import ControlCollectList
from ModelCollectList import ModelCollectList
from ViewBaseList import ViewBaseList
from SimpleDialogs import DialogAddItem

class ViewCollectList(ViewBaseList):
    """
    this is the view part of wish list window
    """

    EDIT_DEFAULT_VALUE = "Add miscellaneous item into the list and press enter"
    EDIT_MODE =  DialogAddItem.WISHLIST_MODE
    
    def __init__(self, parent):
        ViewBaseList.__init__(self, parent)

    def get_model_class(self):
        return ModelCollectList

    def get_model(self):
        return DataManager.collectlist

    def get_control_class(self):
        return ControlCollectList

    def get_panel_class(self):
        return ControlCollectList

    def get_panel_class(self):
        return PanelCollect
